package com.mybdqn.dao;

import com.mybdqn.pojo.RolePermission;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
* Mapper Interface RolePermission
*
* 2017-12-14
*/
public interface RolePermissionMapper {

    public RolePermission getRolePermissionById(@Param(value = "id") Integer id)throws Exception;

    public List<RolePermission> getRolePermissionListByMap(Map<String, Object> param)throws Exception;

	public Integer getRolePermissionRecordCount(Map<String, Object> param)throws Exception;

    public Integer insertRolePermission(RolePermission rolePermission)throws Exception;

    public Integer updateRolePermission(RolePermission rolePermission)throws Exception;

    public Integer deleteRolePermissionById(@Param(value = "id") Integer id)throws Exception;

}